<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	 <link href="css/guanli.css" rel="stylesheet" />
	 <link href="home/assets/css/xinxi.css" rel="stylesheet" />
	 <link href="home/assets/css/bootstrap.css" rel="stylesheet" />
</head>
<script>
    function onkeydown(ev){                //网页内按下回车触发
        var ev = event||window.event
        if(event.keyCode==13)
        {
            document.getElementById("#username-2").click();
            return false;
        }
    }
</script>
<body >
	 <div class="top">
		<img src="image/logo.png" alt="">
		<div class="logo">
			<span>OA系统</span>
		</div>
	</div>
	<div class="center">
		<div class="denglu">
			<div class="one">
				<span>登录</span>
			</div>
			<div class="two">
				<span>LOGIN</span>
			</div>
		</div>
		<div class="form-box ">
			<form>
				<div class="input-box ">
					<label for="username">用户名</label>
					<input type="text" id="username" name="username">
				</div>
				<div class="input-box">
					<label for="password">密码</label>
					<input type="password" id="password" name="password">					
				</div>
			</form>
			<div id="tip"></div>
		</div>
		<div class="di">

			<a id="username-1" onClick="document.getElementById('light').style.display='block';">
				<span>修改密码</span>
			</a>
			<a id="username-2" href="javascript:;">
				<span>登录</span>
			</a>
		</div>
		<div id="light" class="white_content">
            <div style="width: 600px;margin:30px auto;" id="dituContent" class="modal-content">
                <div class="modal-header" >
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"  onClick="document.getElementById('light').style.display='none';" style="color:#f5f5f5;z-index:9999;">×</button>
                    <h4 class="modal-title"> <span class="fa fa-edit"> 修改密码</span></h4>
                </div>
                <form  >
                    <div class="modal-body" style="background:#f3f3f5">
					<div class="input-box">
						<label for="username">用户名</label>
						<input type="text"  id="usernameone" name="username">

					</div>
					<div class="input-box">
						<label for="oldPassword">原密码</label>
						<input type="password" id="oldPassword">
					</div>
					<div class="input-box">
						<label for="newPassword">新密码</label>
						<input type="password" id="newPassword">
						<div class="error-show" id="msg"></div>
					</div>
					<div class="input-box">
						<label for="repeatPassword">重复密码</label>
						<input type="password" id="repeatPassword" >
						<div class="error-show" id="ms"></div>
					</div>
					<div class="input-box">
						<a href="javascript:void(0)" class="btn" id="updateBtn">提交</a>
					</div>

                    </div>
                </form>
            </div>
        </div>
	</div>

</body>
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/login.js"></script>

</html>
